using ActorSystem;
using ActorTest;
using System;

class TestRun
{
	public static void Main(string[] args)
	{
		Control AC = new Control();
		//Actor test = AC.CreateActor("ActorTest");
		//Console.WriteLine(test.LocalId.ToString());
		//test.Start();
		Actor pong = AC.CreateActor(new ActorTest.ActorPong().GetType());
        ActorPing ping = (ActorTest.ActorPing)AC.CreateActor(new ActorTest.ActorPing().GetType());
        ping.PongId = pong.LocalId;
        ping.Start();
		pong.Start();
	}
}